﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ExpertAnswerQuestion.aspx.cs"
	Inherits="Admin_ExpertAnswerQuestion" Theme="PX" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
</head>
<body>
	<form id="form1" runat="server">

	<asp:Panel runat="server" CssClass="Shade" ID="PShade" Visible="false"></asp:Panel>
	<asp:Panel runat="server" CssClass="Float" ID="PFloat" Visible="false">
		<div class="FloatTitle">
			<asp:Label runat="server" Text="问题解答"></asp:Label>
			<asp:LinkButton runat="server" ID="LBtnClose" Text="关闭" CssClass="FloatClose"></asp:LinkButton>
		</div>
		<table class="floatTable">
			<tbody>
				<tr>
					<td class="firstColumn">问题</td>
					<td class="secondColumn">
						<asp:TextBox runat="server" ID="TbQuestion" TextMode="MultiLine" CssClass="MultiTextBox" ReadOnly="true" Height="100px" Width="200px"></asp:TextBox>
						
					</td>
				</tr>
				<tr>
					<td class="firstColumn">回答</td>
					<td class="secondColumn">
						<asp:TextBox runat="server" ID="TbAnswer" TextMode="MultiLine" Height="100px" Width="200px"></asp:TextBox>
					</td>
				</tr>
			</tbody>
		</table>
		<div class="FloatButtom">
			<asp:LinkButton ID="LBtnAnswer" runat="server" Text="确定"></asp:LinkButton>
		</div>
	</asp:Panel>

	<div>
		<asp:GridView runat="server" ID="Grv" SkinID="QueryResult" CssClass="ResultTable">
			<Columns>
				<asp:TemplateField HeaderText="序号">
					<ItemTemplate>
						<%# Grv.PageIndex * Grv.PageSize + Grv.Rows.Count + 1%>
					</ItemTemplate>
				</asp:TemplateField>
				<asp:BoundField DataField="AskerName" HeaderText="提问者" />
				<asp:BoundField DataField="Content" HeaderText="问题" />
				<asp:BoundField DataField="DateTime" HeaderText="提问时间" />
				<asp:BoundField DataField="AskerDepartment" HeaderText="单位" />
				<asp:BoundField DataField="AskerEMail" HeaderText="EMail" />
				<asp:BoundField DataField="AskerPhone" HeaderText="联系电话" />
				<asp:TemplateField>
					<ItemTemplate>
						<asp:LinkButton ID="LBtnDetail" runat="server" Text="回复" CommandArgument='<%# Bind("ID") %>'></asp:LinkButton>
					</ItemTemplate>
				</asp:TemplateField>
			</Columns>
		</asp:GridView>
	</div>
	</form>
</body>
</html>
